
TARGET          = qwordwizard

DEPENDPATH      = images \
                  src \
                  inc

OBJECTS_DIR     = build
MOC_DIR         = build
UI_SOURCES_DIR  = build
UI_HEADERS_DIR  = build
RCC_DIR         = build

INCLUDEPATH     += inc/

FORMS           = forms/qwwabout.ui \
                  forms/qwwsettings.ui

SOURCES         = src/main.cpp \
                  src/qwwmainwindow.cpp \
                  src/qwwmenu.cpp \
                  src/qwwabout.cpp \
                  src/qwwsettings.cpp \
                  src/qwwdic.cpp

HEADERS         = inc/qwwmainwindow.h \
                  inc/qwwmenu.h \
                  inc/qwwabout.h \
                  inc/qwwsettings.h \
                  inc/qwwdic.h

RESOURCES       = qwordwizard.qrc

QT              += xml

CONFIG          += qt debug


unix:# Prefix: base instalation directory
isEmpty( PREFIX ):PREFIX = /usr

target.path     = $${PREFIX}/bin
desktop.path    = $${PREFIX}/share/applications
desktop.files   += qwordwizard.desktop
icon.path       = $${PREFIX}/share/icons
icon.files      += images/qwordwizard.png
INSTALLS        = target \
                  desktop \
                  icon

